package com.xzy.controller.e;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 说明：拦截器
 *
 * @author xzy
 * @date 2021/11/14 22:20
 */
@Slf4j
@RestController("controllerE")
@RequestMapping("/test_e")
public class TestController {

    @GetMapping("/say")
    public String say1(@RequestParam String msg) {
        return msg;
    }

    @GetMapping("/ignore/say")
    public String say2(@RequestParam String msg) {
        return msg;
    }
}
